<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Album.aspx.cs" Inherits="Album" Title="My Photos" %>
<%@ Import Namespace="Friendster.Service" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
 <fs:FriendsterApplication runat="server" ID="fsApplication" ApplicationKey="0c868a9a9f2d332000cd09e1ed602ddc"
    ApplicationName="Creating .NET Client" Secret="7234cc4ad7689d0f8031b2023e252a3d" CallbackUrl="http://localhost:1653/StepByStep/" />
    
    <%
        string[] fans = fsApplication.Service.Fan.GetFans("62448389");
        Response.Write("<div style=\"padding-left:20px\"><strong>Fans</strong><br /><br />");
        int j = 0;
        for (int i = 0; i < fans.Length;i++ )
        {
            j = i + 1;
            Response.Write( j.ToString() +". Fans uid =" + fans[i] + "<br />");
        }
        Response.Write("</div>");
        
     %>
</asp:Content>